package hcn.protocol.brandnew.feiyong.feiyongqingdan;

import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
import hcn.protocol.brandnew.BaseRequest;


/**
 * 门诊药房列表查询-请求信息 - ODS_04010003
 *
 * @author enjoyLife
 */
@Data
@XmlRootElement(name = "MsgBody")
@XmlAccessorType(XmlAccessType.FIELD)
public class FindRecipeSuppliersRequest extends BaseRequest {

    /**
     * 就诊医疗机构组织机构代码
     */
    @XmlElement(name = "VisitOrganization")
    private String visitOrganization;
    /**
     * 总计金额
     */
    @XmlElement(name = "TotalCost")
    private String totalCost;
    /**
     * 药品列表
     */
    @XmlElementWrapper(name = "DrugLists")
    @XmlElement(name = "DrugList")
    private List<DrugList> drugLists;

    @Data
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class DrugList {

        /**
         * 药物类型代码
         */
        @XmlElement(name = "DrugType")
        private String drugType;
        /**
         * 药物代码
         */
        @XmlElement(name = "DrugsNumber")
        private String drugsNumber;
        /**
         * 药物名称
         */
        @XmlElement(name = "DrugName")
        private String drugName;
        /**
         * 药品产地id
         */
        @XmlElement(name = "DrugProductionPlaceId")
        private String drugProductionPlaceId;
        /**
         * 药品-药品产地
         */
        @XmlElement(name = "DrugProductionPlace")
        private String drugProductionPlace;
        /**
         * 药物发放数量
         */
        @XmlElement(name = "DrugSendNumber")
        private String drugSendNumber;
    }

}
